//
//  LZRestaurantAuthSelectCell.h
//  laziz_Merchant
//
//  Created by xbnzd on 17/3/3.
//  Copyright © 2017年 XBN. All rights reserved.
//

#import <UIKit/UIKit.h>
@class LZRestaurantAuthModel;
//=======商家认证 选择项cell

@protocol LZRestaurantAuthSelectCellDelegate <NSObject>

- (void)clickSelectCellWithIndexPath:(NSIndexPath *)indexPath;

@end

@interface LZRestaurantAuthSelectCell : UITableViewCell
@property (nonatomic, weak) id<LZRestaurantAuthSelectCellDelegate> restaurantAuthSelectCellDelegate;

- (void)loadSelectCellWithIndexPath:(NSIndexPath *)indexPath andModel:(LZRestaurantAuthModel *)authModel;


/**
 获取cell高度

 @param text 内容值
 @param cellNameText title
 @return <#return value description#>
 */
+ (CGFloat)getCellHeightWithContext:(NSString *)text cellNameText:(NSString *)cellNameText;


/**
 这个方法只针对账户选项的cell.因为这里无论第一行是否放得下,都要放在第二行.上面的获取高度方法不使用

 @param str 内容
 @return <#return value description#>
 */
+ (CGFloat)getCellHeightForAccountCellWithContent:(NSString *)str;

//是否允许编辑
- (void)changeCellEnabled:(BOOL)enable;


@end
